home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Tools (InfoMagic)
/
Internet Tools.iso
/
dos_win
/
winsock
/
maillist
/
94-05.Z
/
94-05
/
000284_MarkW@ms70.nuw….sea06.navy.mil_Fri May 20 01:18:00 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-05-31
|
7KB
Received: from kpt.nuwc.navy.mil by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
id AA18746; Fri, 20 May 1994 11:20:18 -0400
Received: from ms70.nuwes.sea06.navy.mil ([140.178.70.3]) by kpt.nuwc.navy.mil with SMTP id AA00958
(5.65c/IDA-1.4.4 for winsock@SunSITE.Unc.EDU); Fri, 20 May 1994 08:07:21 -0700
Received: by ms70.nuwes.sea06.navy.mil with Microsoft Mail
id <2DDCD4F8@ms70.nuwes.sea06.navy.mil>; Fri, 20 May 94 08:19:20 PDT
From: West Mark 5741 <MarkW@ms70.nuwes.sea06.navy.mil>
To: winsock <winsock@SunSITE.Unc.EDU>
Subject: RE: win32 sockets
Date: Fri, 20 May 94 08:18:00 PDT
Message-Id: <2DDCD4F8@ms70.nuwes.sea06.navy.mil>
Encoding: 44 TEXT
X-Mailer: Microsoft Mail V3.0
1) I had the same problem when I created an extended winsock dll and an FTP
dll. Since dll's can't accept messages I had to pass the handle of the GUI's
window down into the dlls and the when the GUI receives a winsock message it
simply calls the dll's handler with the message's parameters. But you are
using a service so I guess this fix does'nt apply to you.
- BUT -
2) Win32 (NT and Chicago) use peemptive multitasking so using regular select
will block only your service, not anything else. The asynchselect is still
nice under win32 in that it provides for event driven coding but it sounds
to me like you can't use it.
-Mark West
----------
From: winsock
To: Multiple recipients of list
Subject: win32 sockets
Date: Thursday, May 19, 1994 5:12PM
I've got a problem with win32 and winsock. What I want is one thread
that listens to one of two input sources, either a socket or (in my
case) a Sybase connection. My problem is that I've set the Sybase
connection to signal me with a win32 event when it is done, but I have
a problem with telling when the socket is ready to read.
I could use WSAAsyncSelect, but I'm going to be running this as a
service, and it's not clear to me (and others, apparently) under what
circumstances a service can create a window (as requred for
WSAAsyncSelect). If I could create a window, I cound use
MsgWaitForMultipleObjects() to do what I want. Since I'll be a
service, I'd rather not use a window anyway.
What I really want is something similar to WSAAsyncSelect that uses a
win32 event to signal when it is ready.
Any suggestions? Has anyone else faced this problem? What solution
did you use?
TIA.
Eric.
From MarkW@ms70.nuwes.sea06.navy.mil Fri May 20 01:30:00 1994
Received: from kpt.nuwc.navy.mil by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
id AA21754; Fri, 20 May 1994 11:32:08 -0400
Received: from ms70.nuwes.sea06.navy.mil ([140.178.70.3]) by kpt.nuwc.navy.mil with SMTP id AA00974
(5.65c/IDA-1.4.4 for winsock@SunSITE.Unc.EDU); Fri, 20 May 1994 08:19:28 -0700
Received: by ms70.nuwes.sea06.navy.mil with Microsoft Mail
id <2DDCD7CF@ms70.nuwes.sea06.navy.mil>; Fri, 20 May 94 08:31:27 PDT
From: West Mark 5741 <MarkW@ms70.nuwes.sea06.navy.mil>
To: winsock <winsock@SunSITE.Unc.EDU>
Subject: Daytona SLIP, PPP
Date: Fri, 20 May 94 08:30:00 PDT
Message-Id: <2DDCD7CF@ms70.nuwes.sea06.navy.mil>
Encoding: 13 TEXT
X-Mailer: Microsoft Mail V3.0
As a member of the Microsoft Developer Network level 2 I got a copy fo the
Daytona Beta. Let me assure you that I really like it, they are supporting
internetworking very seriously with this package. Anyway, I set up RAS and I
can RAS in from a remote WFW machine just fine. But I can't SLIP in at all.
I'm quite sure I set up the SLIP server correctly. I could find NO
DOCUMENTATION AT ALL anywhere on the two CD's that covers the SLIP script
expected.
Does anyone (J. Allard?) know details about the sequence of commands that
the Daytona RAS requires for SLIP connection?
-Mark West
From MarkW@ms70.nuwes.sea06.navy.mil Fri May 20 01:41:00 1994
Received: from kpt.nuwc.navy.mil by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
id AA24824; Fri, 20 May 1994 11:44:00 -0400
Received: from ms70.nuwes.sea06.navy.mil ([140.178.70.3]) by kpt.nuwc.navy.mil with SMTP id AA00998
(5.65c/IDA-1.4.4 for winsock@SunSITE.Unc.EDU); Fri, 20 May 1994 08:31:10 -0700
Received: by ms70.nuwes.sea06.navy.mil with Microsoft Mail
id <2DDCDA8D@ms70.nuwes.sea06.navy.mil>; Fri, 20 May 94 08:43:09 PDT
From: West Mark 5741 <MarkW@ms70.nuwes.sea06.navy.mil>
To: winsock <winsock@SunSITE.Unc.EDU>
Subject: Re: WSAAsyncSelct() - iMsg = what?
Date: Fri, 20 May 94 08:41:00 PDT
Message-Id: <2DDCDA8D@ms70.nuwes.sea06.navy.mil>
Encoding: 35 TEXT
X-Mailer: Microsoft Mail V3.0
Don't try this under Borland, their OWL steps all over the WM_USER + message
numbers, instead you must RegisterWindowsMessage at run time. This sad fact
had me seeing red when I discovered it. This is just one more reason why I
finally dumped Borland C++ for MS VC++.
-Mark West
----------
From: winsock
To: Multiple recipients of list
Subject: Re: WSAAsyncSelct() - iMsg = what?
Date: Thursday, May 19, 1994 12:03PM
In a previous article, dboone@fasttax.com (Doug Boone) says:
>
>WM_USER + 1 Please refer to the Windows API documentation.
>
>Why assume what's documented?
>
>
Yes...I was stupid. I forgot about the WM_USER id's. Though I
don't think the winsock spec mentioned this.
Thanks to all those who replied.
--
+--------------------------------------------------------------------------+
| Michael Comet, mbc@po.CWRU.Edu - CWRU, Software Engineer/Graphics Artist |
| Computer Graphics/Animation! - Liquid Vision SIG (go liquid), Freenet |
+--------------------------------------------------------------------------+
From news@bigblue.oit.unc.edu Fri May 20 15:14:01 1994
Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
id AA12435; Fri, 20 May 1994 12:55:10 -0400
Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
id AA16371; Fri, 20 May 1994 12:33:19 -0400
Received: from GATEWAY by bigblue with netnews
for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
To: winsock@sunsite.unc.edu
Date: Fri, 20 May 1994 15:14:01 GMT
From: gsegalli@ic1d.harris.com (Greg Segallis)
Message-Id: <Cq3wzF.87E@news.ess.harris.com>
Organization: Harris, GCSD
Sender: ses
Subject: NNTP Protocol
I am interested in trying my hand at winsock programming. I want
to start with a newsreader program. I am looking for any references
or sources (standards, ftp sites, etc.) for the NNTP protocol or
anything related to newsreaders. Please reply directly to my email
address.
Thanks,
Greg